home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / legaltools / lsdlt030.dms / lsdlt030.adf / defn / DICE_jed.defn < prev    next >
Encoding:
Text File  |  1990-09-13  |  5.6 KB  |  170 lines

  1. # JEd DICE compiling definition file.
  2. # (c)John Harper 29-Jun-92
  3.  
  4. Menu:
  5. MENU "Project"
  6.   ITEM "Open new"           "/" "If((OpenNew()),OpenFile())"
  7.   ITEM "Clear text"         ""  "Clear()"
  8.   BAR
  9.   ITEM "Open file..."       "o" "OpenFile()"
  10.   ITEM "Include file..."    "O" "IncludeFile()"
  11.   BAR
  12.   ITEM "Save"               "w" "Save()"
  13.   ITEM "Save as..."         "W" "SaveAs()"
  14.   ITEM "Print file..."      "P" "PrintFile()"
  15.   BAR
  16.   ITEM "Rename File..."     ""  "ChangeName()"
  17.   ITEM "Sleep..."           "\" "Sleep()"
  18.   ITEM "Quit window"        "q" "QuitWindow()"
  19.   ITEM "Save & quit"        "Q" "If(m,Save())If(!r,QuitWindow())"
  20.   ITEM "Quit all"           ""  "QuitAll()"
  21.   BAR
  22.   ITEM "About..."           ""  "About()"
  23. MENU "Edit"
  24.   ITEM "Mark block"         "b" "MarkBlock()"
  25.   BAR
  26.   ITEM "Copy block"         "c" "CopyBlock()"
  27.   ITEM "Cut block"          "x" "CutBlock()"
  28.   ITEM "Erase block"        "z" "EraseBlock()"
  29.   ITEM "Insert block"       "i" "InsertBlock()"
  30.   ITEM "Save block..."      "n" "SaveBlock()"
  31.   ITEM "Print block..."     "p" "PrintBlock()"
  32.   BAR
  33.   ITEM "Delete line"        ""  "Delete(l)"
  34.   ITEM "Delete to EOL"      ""  "Delete(e)"
  35.   ITEM "Delete to SOL"      ""  "Delete(s)"
  36.   ITEM "Undelete"           ""  "Undelete()"
  37. MENU "Find"
  38.   ITEM "Search for..."      "S" "FindString()()"
  39.   ITEM "Repeat search"      "s" "FindNext()"
  40.   BAR
  41.   ITEM "Replace..."         "R" "ReplaceString()"
  42.   ITEM "Repeat replace"     "r" "If((FindNext()),Replace())"
  43.   BAR
  44.   ITEM "Line"               "j" "Move(ln)"
  45.   ITEM "Matching bracket"   "h" "Move(bt)"
  46.   BAR
  47.   ITEM "Auto-mark"          "#" "Move(am)"
  48.   ITEM "Bookmark"           ""  ""
  49.     SUB  "Mark 1"           ""  "Move(bm1)"
  50.     SUB  "Mark 2"           ""  "Move(bm2)"
  51.     SUB  "Mark 3"           ""  "Move(bm3)"
  52.     SUB  "Mark 4"           ""  "Move(bm4)"
  53.     SUB  "Mark 5"           ""  "Move(bm5)"
  54.   ITEM "Set bookmark"       ""  ""
  55.     SUB  "Mark 1"           ""  "Move(sm1)"
  56.     SUB  "Mark 2"           ""  "Move(sm2)"
  57.     SUB  "Mark 3"           ""  "Move(sm3)"
  58.     SUB  "Mark 4"           ""  "Move(sm4)"
  59.     SUB  "Mark 5"           ""  "Move(sm5)"
  60. MENU "Folds"
  61.   ITEM "Make fold"          "(" "MakeFold()"
  62.   BAR
  63.   ITEM "Open fold"          "+" "OpenFold()"
  64.   ITEM "Close fold"         "-" "CloseFold()"
  65.   ITEM "Kill fold"          ")" "KillFold()"
  66.   BAR
  67.   ITEM "Open all folds"     ""  "OpenAllFolds()"
  68.   ITEM "Close all folds"    ""  "CloseAllFolds()"
  69.   ITEM "Kill all folds"     ""  "KillAllFolds()"
  70. MENU "Windows"
  71.   ITEM "Split window"       "d" "SplitWindow()"
  72.   BAR
  73.   ITEM "Expand window"      "]" "ExpandWindow()"
  74.   ITEM "Spread windows"     ";" "SpreadWindows()"
  75.   ITEM "Grow window"        ">" "GrowWindow()"
  76.   ITEM "Shrink window"      "<" "ShrinkWindow()"
  77.   BAR
  78.   ITEM "Previous window"    "," "PrevWindow()"
  79.   ITEM "Next window"        "." "NextWindow()"
  80.   BAR
  81.   ITEM "Show cmd console"   "C" "ExecRexxMacro(CmdShell)"
  82. MENU "Special"
  83.   ITEM "Play macro"         "M" "PlayMacro()"
  84.   ITEM "Start macro"        ""  "StartMacro()"
  85.   ITEM "Stop macro"         ""  "StopMacro()"
  86.   BAR
  87.   ITEM "Insert ascii"       "@" "InsertAscii()"
  88.   ITEM "Insert date"        "D" "PutChars($date)"
  89.   ITEM "Insert time"        "T" "PutChars($time)"
  90.   BAR
  91.   ITEM "Evaluate expression" "" "ExecRexxMacro(Math)"
  92.   ITEM "Command line"       ""  "CLI()"
  93.   ITEM "Exec. ARexx macro"  "e" "ExecRexxMacro(ExecMac)"
  94.   ITEM "Exec. DOS cmd"      "E" "ExecRexxMacro(ExecCmd)"
  95.   ITEM "Delete file..."     ""  "DeleteFile()"
  96. MENU "Compiling"
  97.   ITEM "Compile file"       ""  "ExecRexxMacro(CompileDICE)"
  98.   ITEM "Link..."            ""  "ExecRexxMacro(Link)"
  99.   BAR
  100.   ITEM "Next comp. error"   "1" "ExecRexxMacro(MoveError)"
  101.   ITEM "Prev comp. error"   "2" "ExecRexxString(num = GetClip(''JED.ERR'');SetClip(''JED.ERR'',num-2))ExecRexxMacro(MoveError)"
  102.   ITEM "First comp. error"  "3" "ExecRexxString(SetClip(''JED.ERR'',0))ExecRexxMacro(MoveError)"
  103.   BAR
  104.   ITEM "Run executable"     ""  "Execute(Run >null: <null: t:test)"
  105. MENU "Prefs"
  106.   ITEM "Edit"               ""  "EditPrefReq()"
  107.   ITEM "Display"            ""  "DisplayPrefReq()"
  108.   ITEM "File"               ""  "FilePrefReq()"
  109.   BAR
  110.   ITEM "Open definition..." ""  "OpenDefs()"
  111.   ITEM "Save prefs"         ""  "SavePrefs()"
  112. @
  113.  
  114.  
  115. KeyBindings:
  116. "esc"              "CLI()"
  117. "ralt /"           "OpenNew()"
  118. "control r"        "ChangeName()"
  119. "rshift ralt q"    "QuitAll()"
  120. "help"             "About()"
  121. "f1"               "Move(bm1)"
  122. "f2"               "Move(bm2)"
  123. "f3"               "Move(bm3)"
  124. "f4"               "Move(bm4)"
  125. "f5"               "Move(bm5)"
  126. "shift f1"         "Move(sm1)"
  127. "shift f2"         "Move(sm2)"
  128. "shift f3"         "Move(sm3)"
  129. "shift f4"         "Move(sm4)"
  130. "shift f5"         "Move(sm5)"
  131. "shift up"         "Move(us)"
  132. "shift down"       "Move(ds)"
  133. "shift right"      "Move(el)"
  134. "shift left"       "Move(sl)"
  135. "control up"       "Move(sf)"
  136. "control down"     "Move(ef)"
  137. "control right"    "Move(rw)"
  138. "control left"     "Move(lw)"
  139. "control q"        "Delete(e)"
  140. "control y"        "Delete(l)"
  141. "control u"        "Undelete()"
  142. "alt m"            "StartMacro()"
  143. "control m"        "StopMacro()"
  144. "control c"        "ExecRexxMacro(CompileDICE)"
  145. "control x"        "Execute(Run >null: <null: t:test)"
  146. "alt e"            "EditPrefReq()"
  147. "alt p"            "DisplayPrefReq()"
  148. "alt f"            "FilePrefReq()"
  149. "shift return"     "Move(d)Move(el)"
  150. "shift backspace"  "Delete(s)"
  151. "enter"            "Move(el)InsertAscii(10)"
  152. @
  153.  
  154. HotKeys:
  155. "control lshift j"       ""
  156. "control lalt j"         "If((OpenNew()),OpenFile())"
  157. "control lshift lalt j"  "OpenFile()"
  158. "lshift lalt j"          "QuitAll()"
  159. @
  160.  
  161. AutoCommands:
  162. "L#?.(c|h|jed)"    "Pref(tabsize,4)"
  163. "L#?.(a|i|s|doc)"  "Pref(tabsize,8)"
  164. @
  165.  
  166. WBenchCols:   ON
  167. AutoPrivate:  ON
  168. ShowEOF:      ON
  169. Priority:     1
  170.